<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>登陆 - {$sitename}</title>
<link rel="stylesheet" type="text/css" href="template/style/ht.css" />
<link type="text/css" rel="stylesheet" href="template/style/build/base.css" />
<script language="javascript">

<!--
function doCheck(){
if(document.frmLogin.name.value==""){
alert('请输入你的用户名！');
return false;
}
if(document.frmLogin.password.value==""){
alert('请输入你的密码！');
return false;
}
if(document.frmLogin.chekcode.value==""){
alert('请输入你的验证码！');
return false;
}
}
-->
</script>

</head>

<script language="javascript">
function newgdcode(obj,url) {
obj.src = url+ '?nowtime=' + new Date().getTime();
//后面传递一个随机参数，否则在IE7和火狐下，不刷新图片
}
</script>

<body class="home">

<div id="tongxue">
<div id="body">
{xingTemplate menu}
<div id="container"> 
<div id="mainWrapper" class="clearfix">
<div id="clock"> </div>
<link type="text/css" rel="stylesheet" href="template/style/login.css" />
<div id="container">
<div id="mainWrapper" class="clearfix">
<div id="clock"></div>

<div id="conWrapper" style="min-height:210px; _height:210px;">
<div class="login_form">  
<h2 class="title_h2">登录{$sitename}</h2>
<p class="title_p">马上加入{$sitename}，随时随地从网页发送最新消息，分享生活每一刻。</p>
{$notice}
<form name="frmLogin" class="signin" method="POST" action="log.php?action=in" onSubmit="return doCheck();">
<table cellspacing="0">
<tbody>
<tr>

<th><label>登录名</label></th>
<td><input type="text"  style="color:#999999" class="inputtext"  name="username" /></td>
</tr>
<tr>
<th><label>密码</label></th>
<td><input type="password" class="inputtext" name="password" /></td>
</tr>
<tr>
<th><label>验证码</label></th>
<td><input type="text"  class="inputtext" name="chekcode"/><img src="inc/chekcode.php"  alt="看不清楚，换一张" align="absmiddle" style="cursor: pointer;" onclick="javascript:newgdcode(this,this.src);"></td>
</tr>
<tr>
<th/>
<td><input type="submit" value="登录" name="" id="signin_submit"/></td>
</tr>
</tbody>
</table>
</form>
</div>

</div>
<div id="side">
<div class="sideSection">

<div class="sideSection_header">
<h3>创建你的账号</h3>
</div>
<div class="join">
<a href="reg.php"><img src="template/images/build/sign.gif" /></a>
</div>
</div>           
</div>
</div>
</div> 
</div></div>
{xingTemplate footer}
</div>
</div>
<a href="#" id="feedbackbutton"></a>
</body>
</html>
